package com.car.spdier.service.impl;

import java.util.Map;

import com.car.spdier.HashTable;
import com.car.spdier.service.ParseService;

public class ParseServiceFactory {
	public static Map<String, ParseService> baseParseService = new java.util.Hashtable();
	  static  {
		baseParseService.put(HashTable.shanghaiCode, new ShangHaiParseImpl());
	}
	public synchronized static ParseService getParseService(String cityCode){
		return baseParseService.get(cityCode);
	}
}
